package org.edu.modules.stu.stu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-职位信息表
 */
@TableName("ve_stu_position")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="职位信息表对象", description="ve_stu_position")
public class HqStuPosition extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "职位名称")
    @Length(max = 20)
        private String title;

    @TableField
    @ApiModelProperty(value = "职位编号，同一终端唯一")
    @Length(max = 20)
        private String code;

    @TableField
    @ApiModelProperty(value = "需要人数")
        private Integer num;

    @TableField
    @ApiModelProperty(value = "已批人数")
        private Integer hasNum;

    @TableField
    @ApiModelProperty(value = "学期id")
        private Integer semesterId;

    @TableField
    @ApiModelProperty(value = "发布部门id")
        private Integer departmentId;

    @TableField
    @ApiModelProperty(value = "薪资")
        private Integer money;

    @TableField
    @ApiModelProperty(value = "职位要求描述")
    @Length(max = 65535)
        private String requirement;

    @TableField
    @ApiModelProperty(value = "工作内容描述")
    @Length(max = 65535)
        private String content;

    @TableField
    @ApiModelProperty(value = "是否需要面试;1是0否")
        private Integer isView;

    @TableField
    @ApiModelProperty(value = "发布状态;1发布0未发布")
        private Integer status;
}
